import { Module } from "@nestjs/common";
import { UserModule } from "src/user/user.module";
import { AttendanceService } from "./attendance.service";
import { TypeOrmModule } from "@nestjs/typeorm";
import { Attendance } from "./attendance.entity";
import { DingtalkModule } from "src/dingtalk/dingtalk.module";
import { AttendanceController } from './attendance.controller';
import { WorkModule } from "src/work/work.module";


@Module({
    imports: [
        TypeOrmModule.forFeature([Attendance]),
        UserModule,
        DingtalkModule,
        WorkModule
    ],
    controllers: [AttendanceController],
    providers: [AttendanceService],
    exports: [AttendanceService]
})
export class AttendanceModule { }